<template>
  <div>
    当前页{{ currentPage }}
    每页条数{{ pageSize }}
    <Pagination :currentPage="currentPage"
    @update:currentPage="currentPage=$event"/>
  <div>
      <Pagination :currentPage.sync="currentPage"
      :pageSize.sync="pageSize"/>
    </div>
  </div>
</template>

<script>
import Pagination from './components/Pagination'


export default {
  name: 'App',
  components:{
    Pagination
   
  },
  data() {
    return {
      currentPage:1,
      pageSize:300
    };
  },

  mounted() {
    
  },

  methods: {
    
  },
};
</script>

<style lang="scss" scoped>

</style>